package com.hltlq.service;

import java.util.List;

import com.hltlq.model.TbUsers;

public interface UserService {
	public boolean checkUser(String name, String password);
	
	public TbUsers currentUser(String name, String password);
	
	public boolean updateUser(TbUsers user);
	
	public List<TbUsers> usersList();
	
	public void saveUser(TbUsers user);
	
	public TbUsers getUserById(Integer id);
	
	public void delete(TbUsers user);
	
	public boolean checkUserName(Integer id,String name);
}
